package cn.ssm.pojo;

import java.util.Date;

/**
 * 电影评论表
 * 
 * @author 朱海松
 *
 */
public class MovieComment {
	private int id;// 评论编号
	private int userId;// 用户编号
	private int movieId;// 电影编号
	private String commentInfo;// 评论内容
	private Date commentDate;// 评论日期

	public MovieComment() {
		super();
	}

	public MovieComment(int id, int userId, int movieId, String commentInfo, Date commentDate) {
		super();
		this.id = id;
		this.userId = userId;
		this.movieId = movieId;
		this.commentInfo = commentInfo;
		this.commentDate = commentDate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getMovieId() {
		return movieId;
	}

	public void setMovieId(int movieId) {
		this.movieId = movieId;
	}

	public String getCommentInfo() {
		return commentInfo;
	}

	public void setCommentInfo(String commentInfo) {
		this.commentInfo = commentInfo;
	}

	public Date getCommentDate() {
		return commentDate;
	}

	public void setCommentDate(Date commentDate) {
		this.commentDate = commentDate;
	}

	@Override
	public String toString() {
		return "MovieComment [id=" + id + ", userId=" + userId + ", movieId=" + movieId + ", commentInfo=" + commentInfo
				+ ", commentDate=" + commentDate + "]";
	}

}
